package cn.xianshu.dto;


import cn.xianshu.domain.Employee;
import cn.xianshu.domain.Login;
import cn.xianshu.domain.Tenant;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;


@Data
public class TenantRegisterDto {

    // 管理员-员工账号
    @Valid
    private Employee employee;
    // 机构
    @Valid
    private Tenant tenant;
    // 登录信息
    @Valid
    private Login login;

    // 套餐 id
    @NotNull(message = "请选择套餐!")
    private Long mealId;
}
